From 229836531e2c7c8dd419157bc39370b50f43ed20 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 4 Jul 2005 17:33:31 +0000 Subject: [PATCH] Add extention to s_and_t. Tweak -^2 output to include extension info for xcsv formats. --- style/s_and_t.style | 2 ++ vecs.c | 1 + 2 files changed, 3 insertions(+) diff --git a/style/s_and_t.style b/style/s_and_t.style index 391a96774..a9c685dd5 100644 --- a/style/s_and_t.style +++ b/style/s_and_t.style @@ -13,6 +13,8 @@ # DESCRIPTION Microsoft Streets and Trips 2002-2005 +EXTENSION txt + # # FILE LAYOUT DEFINITIIONS: diff --git a/vecs.c b/vecs.c index cbd7bf9b5..831b00ebd 100644 --- a/vecs.c +++ b/vecs.c @@ -644,6 +644,7 @@ sort_and_unify_vecs(int *ctp) svp[i] = xcalloc(1, sizeof **svp); svp[i]->name = svec->name; svp[i]->vec = xmalloc(sizeof(*svp[i]->vec)); + svp[i]->extension = xcsv_file.extension; *svp[i]->vec = *vec_list[0].vec; /* Interits xcsv opts */ /* Reset file type to inherit ff_type from xcsv for everything * except the xcsv format itself, which we leave as "internal" -- 2.30.2